﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Windows.Forms;
using BLL;

namespace happyMusic
{
    public partial class test : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            int num = -1;
            UserService userService = new UserService();
            num = userService.insertUser("5班教室");
            if (num > 0) {
                MessageBox.Show("添加数据"+ num + "笔，成功！");
            }

        }
    }
}